import { createRouter, createWebHistory } from 'vue-router'
import vue from '../components/vue.vue'
import react from '../components/react.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'vue',
      component: vue,
    },
    {
      path: '/react',
      name: 'react',
      component: react,
    },
  ],
})

export default router
